﻿<common:LayoutAwarePage x:Class="Mutzl.Samples.MapApp.View.DetailView"
                        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                        xmlns:Maps="using:Bing.Maps"
                        xmlns:common="using:Mutzl.Samples.MapApp.Common"
                        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                        xmlns:mapExtensions="using:Mutzl.Samples.MapApp.MapExtensions"
                        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                        x:Name="PageRoot"
                        mc:Ignorable="d">
    <common:LayoutAwarePage.Resources>

        <Style x:Key="TextStyle"
               BasedOn="{StaticResource BasicTextStyle}"
               TargetType="TextBlock">
            <Setter Property="FontSize" Value="26.667" />
            <Setter Property="FontWeight" Value="Light" />
            <Setter Property="LineHeight" Value="30" />
        </Style>

    </common:LayoutAwarePage.Resources>


    <common:LayoutAwarePage.DataContext>
        <Binding Path="Detail" Source="{StaticResource Locator}" />
    </common:LayoutAwarePage.DataContext>


    <Grid Background="{StaticResource MainColor}" Style="{StaticResource LayoutRootStyle}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="3*" />
            <ColumnDefinition Width="2*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="140" />
            <RowDefinition Height="Auto" MinHeight="0" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>




        <VisualStateManager.VisualStateGroups>

            <!--  Visual states reflect the application's view state  -->
            <VisualStateGroup x:Name="ApplicationViewStates">
                <VisualState x:Name="FullScreenLandscape" />
                <VisualState x:Name="Filled" >
                	<Storyboard>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="grid">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<x:Double>400</x:Double>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="grid1">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<Thickness>40,40,0,40</Thickness>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                	</Storyboard>
                </VisualState>

                <!--  The entire page respects the narrower 100-pixel margin convention for portrait  -->
                <VisualState x:Name="FullScreenPortrait">
                    <Storyboard>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackButton" Storyboard.TargetProperty="Style">
                            <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PortraitBackButtonStyle}" />
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="grid" Storyboard.TargetProperty="(Grid.Row)">
                            <DiscreteObjectKeyFrame KeyTime="0">
                                <DiscreteObjectKeyFrame.Value>
                                    <x:Int32>2</x:Int32>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="grid" Storyboard.TargetProperty="(Grid.Column)">
                            <DiscreteObjectKeyFrame KeyTime="0">
                                <DiscreteObjectKeyFrame.Value>
                                    <x:Int32>0</x:Int32>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="grid" Storyboard.TargetProperty="(FrameworkElement.Width)">
                            <DiscreteObjectKeyFrame KeyTime="0">
                                <DiscreteObjectKeyFrame.Value>
                                    <x:Double>NaN</x:Double>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="image" Storyboard.TargetProperty="(FrameworkElement.Height)">
                            <DiscreteObjectKeyFrame KeyTime="0">
                                <DiscreteObjectKeyFrame.Value>
                                    <x:Double>200</x:Double>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="image" Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)">
                            <DiscreteObjectKeyFrame KeyTime="0">
                                <DiscreteObjectKeyFrame.Value>
                                	<HorizontalAlignment>Left</HorizontalAlignment>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="grid" Storyboard.TargetProperty="(FrameworkElement.Margin)">
                            <DiscreteObjectKeyFrame KeyTime="0">
                                <DiscreteObjectKeyFrame.Value>
                                    <Thickness>40</Thickness>
                                </DiscreteObjectKeyFrame.Value>
                            </DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Control.Background)" Storyboard.TargetName="map">
                        	<DiscreteObjectKeyFrame KeyTime="0" Value="{x:Null}"/>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)" Storyboard.TargetName="map">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<HorizontalAlignment>Stretch</HorizontalAlignment>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="map">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<x:Double>NaN</x:Double>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.ColumnSpan)" Storyboard.TargetName="grid">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<x:Int32>2</x:Int32>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="image">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<Thickness>0</Thickness>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="map">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<Thickness>0,40,0,0</Thickness>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Height)" Storyboard.TargetName="map">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<x:Double>450</x:Double>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.ColumnSpan)" Storyboard.TargetName="grid1">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<x:Int32>2</x:Int32>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="grid1">
                        	<DiscreteObjectKeyFrame KeyTime="0">
                        		<DiscreteObjectKeyFrame.Value>
                        			<Thickness>40,40,0,40</Thickness>
                        		</DiscreteObjectKeyFrame.Value>
                        	</DiscreteObjectKeyFrame>
                        </ObjectAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>

                <!--  The back button and title have different styles when snapped  -->
                <VisualState x:Name="Snapped">
                    <Storyboard>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackButton" Storyboard.TargetProperty="Style">
                			<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SnappedBackButtonStyle}" />
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetName="PageTitle" Storyboard.TargetProperty="Style">
                			<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource SnappedPageHeaderTextStyle}" />
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="grid">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<Thickness>20</Thickness>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Column)" Storyboard.TargetName="grid">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<x:Int32>0</x:Int32>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Width)" Storyboard.TargetName="grid">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<x:Double>280</x:Double>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="grid">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<x:Int32>2</x:Int32>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="grid1">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<Thickness>20</Thickness>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Grid.ColumnSpan)" Storyboard.TargetName="grid1">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<x:Int32>2</x:Int32>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                		<DoubleAnimation Duration="0" To="18.667" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock" d:IsOptimized="True"/>
                		<DoubleAnimation Duration="0" To="18.667" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock1" d:IsOptimized="True"/>
                		<DoubleAnimation Duration="0" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock2" d:IsOptimized="True" To="16"/>
                		<DoubleAnimation Duration="0" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock3" d:IsOptimized="True" To="16"/>
                		<DoubleAnimation Duration="0" To="18.667" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock4" d:IsOptimized="True"/>
                		<DoubleAnimation Duration="0" To="18.667" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock5" d:IsOptimized="True"/>
                		<DoubleAnimation Duration="0" To="18.667" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock6" d:IsOptimized="True"/>
                		<DoubleAnimation Duration="0" To="18.667" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock7" d:IsOptimized="True"/>
                		<DoubleAnimation Duration="0" To="18.667" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock8" d:IsOptimized="True"/>
                		<DoubleAnimation Duration="0" To="18.667" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock9" d:IsOptimized="True"/>
                		<DoubleAnimation Duration="0" To="18.667" Storyboard.TargetProperty="(TextBlock.FontSize)" Storyboard.TargetName="textBlock10" d:IsOptimized="True"/>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="stackPanel">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<Visibility>Collapsed</Visibility>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="map">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<Visibility>Collapsed</Visibility>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.HorizontalAlignment)" Storyboard.TargetName="image">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<HorizontalAlignment>Left</HorizontalAlignment>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                		<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(Image.Stretch)" Storyboard.TargetName="image">
                			<DiscreteObjectKeyFrame KeyTime="0">
                				<DiscreteObjectKeyFrame.Value>
                					<Stretch>Uniform</Stretch>
                				</DiscreteObjectKeyFrame.Value>
                			</DiscreteObjectKeyFrame>
                		</ObjectAnimationUsingKeyFrames>
                	</Storyboard>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>

        <!--  Back button and page title  -->
        <Grid Grid.ColumnSpan="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Button x:Name="BackButton"
                    Click="GoBack"
                    IsEnabled="{Binding Frame.CanGoBack,
                                        ElementName=PageRoot}"
                    Style="{StaticResource BackButtonStyle}" />
            <TextBlock x:Name="PageTitle"
                       Grid.Column="1"
                       Style="{StaticResource PageHeaderTextStyle}"
                       Text="{Binding Finanzamt.Id}" />
        </Grid>
        <Grid x:Name="grid1" Grid.Row="1" Margin="120,40,0,40" HorizontalAlignment="Left" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.5">
        	<Grid.RenderTransform>
        		<CompositeTransform/>
        	</Grid.RenderTransform>
        	<StackPanel>
        		<TextBlock x:Name="textBlock" HorizontalAlignment="Left"
        			VerticalAlignment="Top"
        			Style="{StaticResource TextStyle}"
        			Text="{Binding Finanzamt.KurzZeichen}" />
        		<TextBlock x:Name="textBlock1" Margin="0,20,0,0"
        			HorizontalAlignment="Left"
        			VerticalAlignment="Top"
        			Style="{StaticResource TextStyle}"
        			Text="{Binding Finanzamt.Name}" />
        		<StackPanel Margin="0,20,0,0"
        			HorizontalAlignment="Left"
        			VerticalAlignment="Top">
        			<TextBlock x:Name="textBlock4" HorizontalAlignment="Left"
        				VerticalAlignment="Top"
        				Style="{StaticResource TextStyle}"
        				Text="{Binding Finanzamt.Strasse}" />
        			<StackPanel Orientation="Horizontal">
        				<TextBlock x:Name="textBlock5" HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="{Binding Finanzamt.Plz}" />
        				<TextBlock x:Name="textBlock6" Margin="13,0,0,0"
        					HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="{Binding Finanzamt.Ort}" />
        			</StackPanel>
        		</StackPanel>
        		<TextBlock x:Name="textBlock2" Margin="0,20"
        			HorizontalAlignment="Left"
        			VerticalAlignment="Top"
        			Style="{StaticResource TextStyle}">
        			<Run Text="Mo/Di/Mi/Do von 07:30 bis 15:30 Uhr, " />
        			<LineBreak />
        			<Run Text="Fr von 07:30 bis 12:00 Uhr" />
        		</TextBlock>
        		<TextBlock x:Name="textBlock3" HorizontalAlignment="Left"
        			VerticalAlignment="Top"
        			Foreground="#DEED8C2F"
        			Style="{StaticResource TextStyle}"
        			Text="(derzeit außerhalb der Öffnungszeiten!)"
        			Visibility="{Binding IsClosed, Converter={StaticResource BooleanToVisiblityConverter}, Mode=OneWay}" />
        		<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top">
        			<StackPanel Orientation="Horizontal">
        				<TextBlock x:Name="textBlock7" Width="50"
        					HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="Tel:" />
        				<TextBlock x:Name="textBlock8" HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="{Binding Finanzamt.Tel}" />
        			</StackPanel>
        			<StackPanel Orientation="Horizontal">
        				<TextBlock x:Name="textBlock9" Width="50"
        					HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="Fax:" />
        				<TextBlock x:Name="textBlock10" HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="{Binding Finanzamt.Fax}" />
        			</StackPanel>
        		</StackPanel>
        		<StackPanel x:Name="stackPanel" Margin="0,20,0,0"
        			HorizontalAlignment="Left"
        			VerticalAlignment="Top">
        			<StackPanel Orientation="Horizontal">
        				<TextBlock HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="Bankverbindung: " />
        				<TextBlock Margin="9,0,0,0"
        					HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="{Binding Finanzamt.BankBezeichnung}" />
        			</StackPanel>
        			<StackPanel Orientation="Horizontal">
        				<TextBlock HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="Kontonummer" />
        				<TextBlock Margin="11,0,0,0"
        					HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="{Binding Finanzamt.Giro}" />
        				<TextBlock Margin="23,0,0,0"
        					HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="/  BLZ" />
        				<TextBlock Margin="11,0,0,0"
        					HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="{Binding Finanzamt.Blz}" />
        			</StackPanel>
        			<StackPanel Orientation="Horizontal">
        				<TextBlock HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="IBAN" />
        				<TextBlock Margin="11,0,0,0"
        					HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="{Binding Finanzamt.Iban}" />
        				<TextBlock Margin="23,0,0,0"
        					HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="/  BIC" />
        				<TextBlock Margin="11,0,0,0"
        					HorizontalAlignment="Left"
        					VerticalAlignment="Top"
        					Style="{StaticResource TextStyle}"
        					Text="{Binding Finanzamt.Bic}" />
        			</StackPanel>
        		</StackPanel>
        	</StackPanel>
        </Grid>
        <Grid x:Name="grid"
              Grid.Row="1"
              Grid.Column="1"
              Margin="40" Width="520" Grid.ColumnSpan="2">
        	<Grid.RowDefinitions>
        		<RowDefinition Height="Auto"/>
        		<RowDefinition/>
        	</Grid.RowDefinitions>
            <Image x:Name="image"
                   HorizontalAlignment="Left"
                   VerticalAlignment="Top"
                   Source="{Binding Finanzamt.Image}" />

            <Maps:Map x:Name="map"
                      Credentials="{Binding MapsKey}"
                      ZoomLevel="15"
                      mapExtensions:MapExtensions.Center="{Binding Center}" Grid.Row="1" Margin="0,40,0,0">
                <Maps:Pushpin Background="Green" mapExtensions:MapExtensions.Location="{Binding Center}" />
            </Maps:Map>
        </Grid>
    </Grid>
</common:LayoutAwarePage>
